const packageJson = require('../package.json');
const token ='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpIl0sImNvcnBJZCI6bnVsbCwidXNlcl9pZCI6IjJjOTI4MGEyNjcwNmE3M2EwMTY3MDZhOTNjY2YwMDJiIiwidXNlcl9uYW1lIjoiYWRtaW4iLCJzY29wZSI6WyJyZWFkIl0sIm1vYmlsZSI6ZmFsc2UsImlzQWRtaW4iOnRydWUsImV4cCI6MTcyMjg1ODc1NSwiaXNBcHBBZG1pbiI6ZmFsc2UsImF1dGhvcml0aWVzIjpbIlVTRVIiLCJBVVRIX1NZU1RFTV9NQU5BR0UiXSwianRpIjoiOWZmZjdhNzQtZmVlNS00YWE4LTkyNDMtNTk5MzI4NGY4YWI1IiwiY2xpZW50X2lkIjoiYXBpIn0.lo1nQoJcyFxiqy4l9PNdd9Jw4uwbN-30yMzaTSB4zRwemVgqYmLGtQKGbCZsq5ftu2pUDqf_ua_QWoeQ1JuU7uzbB3DJRyrwF7Ve5cIWO4JQzIq1RQCVQP4bwZt4LgSMRBLDQrhlKO9W_jtO7VpEUe61hDGQiekL2oTTagSpcEQ'
const setDevToken = () => {
    if(process.env.NODE_ENV === 'development') {
        localStorage.setItem('token', token);
    }
}
console.log(`%cfrontendVersion:${packageJson.version}`, 'color: green;font-size: 16px');

//设置开发环境token
module.exports = setDevToken;
